/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.sdd.plains;

import java.util.Date;

/**
 *
 * @author Carlos
 */
public class CommentPlain {
    private Long id;
    private String text;
    private CustomerPlain commentator;
    private ProductPlain product;
    private Date dateAdded;

    /**
     * @return the id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return the text
     */
    public String getText() {
        return text;
    }

    /**
     * @param text the text to set
     */
    public void setText(String text) {
        this.text = text;
    }

    /**
     * @return the commentator
     */
    public CustomerPlain getCommentator() {
        return commentator;
    }

    /**
     * @param commentator the commentator to set
     */
    public void setCommentator(CustomerPlain commentator) {
        this.commentator = commentator;
    }

    /**
     * @return the product
     */
    public ProductPlain getProduct() {
        return product;
    }

    /**
     * @param product the product to set
     */
    public void setProduct(ProductPlain product) {
        this.product = product;
    }

    /**
     * @return the dateAdded
     */
    public Date getDateAdded() {
        return dateAdded;
    }

    /**
     * @param dateAdded the dateAdded to set
     */
    public void setDateAdded(Date dateAdded) {
        this.dateAdded = dateAdded;
    }
    
}
